// import Vue from 'vue';
// import Vuex from 'vuex';
// Vue.use(Vuex);
// // const store = new Vuex.Store();
// const state={//要设置的全局访问的state对象
//   showFooter: true,
//   changableNum:0
//   //要设置的初始属性值
// };
// const store = new Vuex.Store({
//   state
// });
// export default store;






/* eslint-disable no-unused-vars */
import Vue from 'vue'
import Vuex from 'vuex'
// import { asyncRouterMap, constantRouterMap } from './router'
import state from "./state"


Vue.use(Vuex);

export default new Vuex.Store({
  state: state,
  getters: {
    token: state => state.token
  },
})
